package day12.Ti.ZiJie;

import java.io.*;

public class Ti03 {
    public static void main(String[] args) throws IOException {
        BufferedInputStream bis = new BufferedInputStream(new FileInputStream("H:\\itheima\\aa\\qqq.png"));
        BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream("H:\\itheima\\bb\\qqq.png"));
        int b;
        byte[] bytes = new byte[1024];
        while ((b = bis.read(bytes)) != -1) {
            bos.write(bytes, 0, b);
        }
        bis.close();
        bos.close();
    }
}
